function GatewayUrl() {
	return "http://localhost:88/api";
}

function BaseUrl() {
	return "http://localhost:8080";
}

function isHasToken() {
	var token = localStorage.getItem("token");
	if(token === null || token === ''){
		location.href = "../login.html";
	}
}

function clearToken() {
	localStorage.removeItem("token");
	localStorage.removeItem("menu");
	localStorage.removeItem("divisionList");
	localStorage.removeItem("captainList");
	localStorage.removeItem("user");
}